package backserver;

import org.springframework.context.ApplicationContext;

/**
 * Created by Administrator on 2016/1/8.
 */
public class BackManager {
    public static ApplicationContext context;
    public static BackUtil backUtil=null;
    public synchronized static BackUtil getBackUtil(){
        if(backUtil==null){
            backUtil=context.getBean(BackUtil.class);
        }
        return backUtil;
    }
}
